<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->_baseUrl;?>/public/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_baseUrl;?>/public/css/main.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_baseUrl;?>/public/css/layout1.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_baseUrl;?>/public/css/admin.css"/>
<script language="javascript" src="<?php echo $this->_baseUrl;?>/public/js/jquery-1.6.2.min.js"></script>
<script language="javascript" src="<?php echo $this->_baseUrl;?>/public/js/custom-form-elements.js"></script>
<title><?php echo $this->title;?></title>
<link rel="shortcut icon" href="<?php echo $this->_baseUrl;?>/public/images/web/favicon.ico" type="image/x-icon" />
</head>

<body>
  <div id="wrapper">
    <div id="header">
    	<img src="<?php echo $this->_baseUrl;?>/public/images/web1/header.jpg" usemap="#green" />
    	<map name="green">  
        	<area shape="rect" coords="20,5,250,100" href="http://hpcc.hut.edu.vn">
			<area shape="rect" coords="300,5,700,200" href="<?php echo $this->_baseUrl;?>/admin">
        </map>
   <div id ="top-menu">
            <strong>Chào bạn : <?php echo $_SESSION['admin_fullname'];?></strong>
            | 
            <a href="<?php echo $this->_baseUrl;?>/admin/account"><img src="<?php echo $this->_baseUrl;?>/public/images/web/account.png" width="16" height="16" /> Tài khoản</a>
            | 
            <a href="<?php echo $this->_baseUrl;?>/admin/logout"><img src="<?php echo $this->_baseUrl;?>/public/images/web/logout.png" width="16" height="16" /> Thoát</a>
    </div>
  </div>
  
   <div class="menu">
          <ul>
          	<li><a href="<?php echo $this->_baseUrl;?>/admin/vm" class="vm">QUẢN LÝ MÁY ẢO</a></li>
            <li><a href="<?php echo $this->_baseUrl;?>/admin/user" class="user">THÀNH VIÊN</a></li>
            <li><a href="<?php echo $this->_baseUrl;?>/admin/package" class="service">DỊCH VỤ</a></li>
            <li><a href="<?php echo $this->_baseUrl;?>/admin/contact" class="contact">LIÊN HỆ</a></li>
            <li><a href="<?php echo $this->_baseUrl;?>/admin/articles" class="articles">BÀI VIẾT</a></li>
            <li><a href="<?php echo $this->_baseUrl;?>/admin/configuration" class="configuration">CẤU HÌNH HỆ THỐNG</a></li>
          </ul>        
     </div>     
    <script>
			  $(".menu ul li a").addClass(function(index, currentClass) {
				var addedClass;

				if ( currentClass === "<?php echo $this->activeClass;?>" ) {
				  addedClass = "active";
				}
			  
				return addedClass;
			  });
	   </script>
   <script>
   $(document).ready(function(){ 
       $('#main-content').css('min-height',function(){
          var main_height = $(window).height() - 425;
        return main_height+'px';
       });   
   });
   </script>     
    <div id="main-content">
       <?php $this->loadContent();?>
     </div> 
    
    <div class="clear"></div>
    
         
    <div id="footer">
    
<div id="bottom-menu">
    	 <ul>
    		<li><a href="<?php echo $this->_baseUrl;?>/admin/vm" >QUẢN LÝ MÁY ẢO</a></li>
            |
            <li><a href="<?php echo $this->_baseUrl;?>/admin/user" >THÀNH VIÊN</a></li>
            |
            <li><a href="<?php echo $this->_baseUrl;?>/admin/package">DỊCH VỤ</a></li>
            |
            <li><a href="<?php echo $this->_baseUrl;?>/admin/contact" >LIÊN HỆ</a></li>
            |
            <li><a href="<?php echo $this->_baseUrl;?>/admin/articles" >BÀI VIẾT</a></li>
            |
            <li><a href="<?php echo $this->_baseUrl;?>/admin/configuration" >CẤU HÌNH HỆ THỐNG</a></li>
          </ul>   
   </div>
    
    
      <div id="copyright">
        Copyright &copy; 2011 High Performance Computing Center. <br />
        Hanoi University of Science and Technology.
      </div>
	  <div id="footerline"></div>
    </div>
	
</div>
</body>
</html>